import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
export default new Vuex.Store({
	state: {
		userAccount:'',
		userHeadImg:'',
		userPhone:'',
		token:'',
	},
	mutations: {
		LOGIN(state,datas) {
			// console.log(datas);
			state.userAccount=datas.userAccount,
			state.userHeadImg=datas.userHeadImg,
			state.userPhone=datas.userPhone,
			state.token=datas.token
		},
		LOGINOUT() {
			
		}
	},
	actions: {

	}
})



